home *** CD-ROM | disk | FTP | other *** search
- // Copyright (c)1995 Ray Dream, Inc. All Rights Reserved.
- /* $Id: GELFac.h 1.1 1996/07/18 23:59:41 Damien Exp $ */
-
- ////////////////////////////////////////////////////////////////////////
- // First Gel Example : Gel Light //
- //--------------------------------------------------------------------//
- // Implementation of the Gel Class Factory //
- ////////////////////////////////////////////////////////////////////////
-
- #ifndef __GELFAC__
- #define __GELFAC__
-
- #ifndef __I3DEX__
- #include "I3DEx.h"
- #endif
-
- // GelLight Class Factory :
- class GelLightClassFactory : public IClassFactory {
- public:
- GelLightClassFactory(void);
- ~GelLightClassFactory(void);
-
- //IUnknown members
- STDMETHODIMP QueryInterface(REFIID, LPVOID FAR*);
- STDMETHODIMP_(ULONG) AddRef(void);
- STDMETHODIMP_(ULONG) Release(void);
-
- //IClassFactory members
- STDMETHODIMP CreateInstance(LPUNKNOWN, REFIID, LPVOID FAR*);
- STDMETHODIMP LockServer(BOOL);
- protected:
- ULONG m_cRef;
- };
-
-
- #endif
-